cmake_minimum_required(VERSION 3.10)

# 设置项目名称
project(c_learnnote)

# 设置C++标准
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# 添加源文件
add_executable(c_learnnote main.cpp)